package com.ruoyi.system.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车服账户对象 car_account
 * 
 * @author ruoyi
 * @date 2024-09-06
 */
public class CarAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账户id */
    private Long accId;

    /** 账户名字 */
    @Excel(name = "账户名字")
    private String name;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private Double money;

    public void setAccId(Long accId) 
    {
        this.accId = accId;
    }

    public Long getAccId() 
    {
        return accId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMoney(Double money) 
    {
        this.money = money;
    }

    public Double getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accId", getAccId())
            .append("name", getName())
            .append("money", getMoney())
            .toString();
    }
}
